package com.luban.springcloud.service;

import java.util.List;
import java.util.Map;

import com.luban.springcloud.pojo.User;

public interface UserService {
	
	//新增或者修改
	User addOrUpdateUser(User user);
	
	//根据Id查找用户
	User findUserById(Integer id);
	
	//查找用户列表
	List<User> listUser();
	
	//根据Id删除用户
	void deleteUser(Integer id);
	
    Map<String,Object> getServiceInfo();
}
